package com.koron.css2.meterService.bean;

import com.koron.css2.baseConfig.bean.BaseBean;
import com.koron.util.Check;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class MsChgPlanBean extends BaseBean{
	
	/**
	 * 票据号
	 */
	private String billNo;
	
	/**
	 * 票据日期
	 */
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date billDate;
	
	/**
	 * 单据类型
	 */
	private Integer receiptType;
	
	/**
	 * 换表类型
	 */
	@Check(name = "换表类型", notEmpty = true)
	private Integer replaceType;
	
	/**
	 * 计划完成日期
	 */
	@Check(name = "计划完成日期", notEmpty = true)
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date planFinishDate;
	
	/**
	 * 拆换表员
	 */
	@Check(name = "换表员", notEmpty = true)
	private String replaceStaff;
	
	/**
	 * 拆换表员
	 */
	private String replaceStaffName;
	
	/**
	 * 拆换表原因
	 */
	@Check(name = "换表原因", notEmpty = true)
	private String replaceReason;
	
	/**
	 * 水表数量
	 */
	private Integer meterAmount;
	
	/**
	 * 已回填数量
	 */
	private Integer backfillAmount;
	
	/**
	 * 流程实例ID
	 */
	private String processInstanceId;
	
	/**
	 * 流程状态
	 */
	private String processState;
	
	/**
	 * 附件临时ID
	 */
	private String tempId;
	
	/**
	 * 换表详情
	 */
	List<MsChgPlanDetailBean> msChgPlanDetails;

	/**
	 * 批量类型
	 */
	private Integer batchType;

	public Integer getBatchType() {
		return batchType;
	}

	public void setBatchType(Integer batchType) {
		this.batchType = batchType;
	}

	public String getTempId() {
		return tempId;
	}

	public void setTempId(String tempId) {
		this.tempId = tempId;
	}

	public List<MsChgPlanDetailBean> getMsChgPlanDetails() {
		return msChgPlanDetails;
	}

	public void setMsChgPlanDetails(List<MsChgPlanDetailBean> msChgPlanDetails) {
		this.msChgPlanDetails = msChgPlanDetails;
	}

	public String getReplaceStaffName() {
		return replaceStaffName;
	}

	public void setReplaceStaffName(String replaceStaffName) {
		this.replaceStaffName = replaceStaffName;
	}

	public String getProcessState() {
		return processState;
	}

	public void setProcessState(String processState) {
		this.processState = processState;
	}

	public String getProcessInstanceId() {
		return processInstanceId;
	}

	public void setProcessInstanceId(String processInstanceId) {
		this.processInstanceId = processInstanceId;
	}


	public String getBillNo() {
		return billNo;
	}

	public Date getBillDate() {
		return billDate;
	}

	public Integer getReceiptType() {
		return receiptType;
	}

	public Integer getReplaceType() {
		return replaceType;
	}

	public Date getPlanFinishDate() {
		return planFinishDate;
	}

	public String getReplaceStaff() {
		return replaceStaff;
	}

	public String getReplaceReason() {
		return replaceReason;
	}

	public Integer getMeterAmount() {
		return meterAmount;
	}

	public Integer getBackfillAmount() {
		return backfillAmount;
	}
	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}

	public void setBillDate(Date billDate) {
		this.billDate = billDate;
	}

	public void setReceiptType(Integer receiptType) {
		this.receiptType = receiptType;
	}

	public void setReplaceType(Integer replaceType) {
		this.replaceType = replaceType;
	}

	public void setPlanFinishDate(Date planFinishDate) {
		this.planFinishDate = planFinishDate;
	}

	public void setReplaceStaff(String replaceStaff) {
		this.replaceStaff = replaceStaff;
	}

	public void setReplaceReason(String replaceReason) {
		this.replaceReason = replaceReason;
	}

	public void setMeterAmount(Integer meterAmount) {
		this.meterAmount = meterAmount;
	}

	public void setBackfillAmount(Integer backfillAmount) {
		this.backfillAmount = backfillAmount;
	}
}
